{% load static %}
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <title>{% block title %}{% endblock %}</title>
    <link rel="stylesheet" type="text/css" href="{% static '/res/layui/css/layui.css' %}">
    <link rel="stylesheet" type="text/css" href="{% static '/res/css/main.css' %}">
    <link rel="stylesheet" type="text/css" href="{% static '/res/css/style.css' %}">
    <!--加载meta IE兼容文件-->
    <!--[if lt IE 9]>
    <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
    <script src=`"https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
    <![endif]-->
</head>
<body>
<div class="header">
    <div class="menu-btn">
        <div class="menu"></div>
    </div>
    <h1 class="logo">
        <a href="index.html">
            <span>菜鸟先飞的Blog</span>
            <img src="{% static '/res/img/logo.png' %}" alt="">
        </a>
    </h1>
    <div class="nav">
        <a href="{% url 'index' %}" class="active">文章</a>
        <a href="whisper.html">微语</a>
        <a href="leacots.html">留言</a>
        <a href="album.html">相册</a>
        <a href="about.html">关于</a>
    </div>
    <ul class="layui-nav header-down-nav">
        <li class="layui-nav-item"><a href="{% url 'index' %}" class="active">文章</a></li>
        <li class="layui-nav-item"><a href="whisper.html">微语</a></li>
        <li class="layui-nav-item"><a href="leacots.html">留言</a></li>
        <li class="layui-nav-item"><a href="album.html">相册</a></li>
        <li class="layui-nav-item"><a href="about.html">关于</a></li>
    </ul>
    <p class="welcome-text">
        欢迎来到<span class="name">菜鸟</span>的博客~
    </p>
</div>

{% block banner %}{% endblock %}

{% block content %}{% endblock %}

<div class="footer-wrap">
    <div class="footer w1000">
        <div class="qrcode">
            <img src="{% static '/res/img/erweima.jpg' %}">
        </div>
        <div class="practice-mode">
            <img src="{% static '/res/img/down_img.jpg' %}">
            <div class="text">
                <h4 class="title">我的联系方式</h4>
                <p>微信<span class="WeChat">{{ web_config.wechat }}</span></p>
                <p>手机<span class="iphone">{{ web_config.cellphone }}</span></p>
                <p>邮箱<span class="email">{{ web_config.email }}</span></p>
            </div>
        </div>
    </div>
</div>

<script type="text/javascript" src="{% static '/res/layui/layui.js' %}"></script>
{% block js %}{% endblock %}
</body>
</html>